.class Lcom/nemustech/regina/ElementAppList$2;
.super Ljava/lang/Object;
.source "ElementAppList.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementAppList;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementAppList;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementAppList;)V
    .locals 0
    .parameter

    .prologue
    .line 274
    iput-object p1, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 8
    .parameter "object"

    .prologue
    const/4 v1, 0x0

    const/4 v4, 0x0

    .line 279
    const/4 v2, 0x0

    invoke-virtual {p1, v2}, Lcom/nemustech/tiffany/world/TFObject;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 281
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v2}, Lcom/nemustech/regina/ElementAppList;->access$300(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFHolder;->getHeadItemIndex()I

    move-result v6

    .line 282
    .local v6, headItemIndex:I
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v2}, Lcom/nemustech/regina/ElementAppList;->access$300(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v2

    invoke-virtual {v2, v6}, Lcom/nemustech/regina/ElementLocator;->distributeWorkspaceViews(I)V

    .line 283
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v2}, Lcom/nemustech/regina/ElementAppList;->access$300(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v2

    invoke-virtual {v2, v6}, Lcom/nemustech/regina/ElementLocator;->getWorkspace(I)Lcom/nemustech/regina/RGWorkspace;

    move-result-object v7

    .line 284
    .local v7, workspace:Lcom/nemustech/regina/RGWorkspace;
    invoke-virtual {v7, v4}, Lcom/nemustech/regina/RGWorkspace;->convertToAnimationObjects(Z)V

    .line 286
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFObject;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFWorld;->removeReflectingFloor()V

    .line 287
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFObject;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFWorld;->clearFog()V

    .line 289
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v2}, Lcom/nemustech/regina/ElementAppList;->access$200(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/AppListHolder;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/nemustech/regina/AppListHolder;->setVisibility(Z)V

    .line 290
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v2}, Lcom/nemustech/regina/ElementAppList;->access$400(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 291
    const-string v2, "ElementAppList"

    const-string v3, "WorkspaceThumbHolder setvisibility(false)"

    invoke-static {v2, v3, v4}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 293
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v2, v4}, Lcom/nemustech/regina/ElementAppList;->access$500(Lcom/nemustech/regina/ElementAppList;Z)V

    .line 294
    const-string v2, "ElementAppList"

    const-string v3, "Left/right side panel setvisibility(false)"

    invoke-static {v2, v3, v4}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 296
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v2}, Lcom/nemustech/regina/ElementAppList;->access$300(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    .line 297
    .local v0, wsHolder:Lcom/nemustech/tiffany/world/TFHolder;
    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFHolder;->setVisibility(Z)V

    .line 298
    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/nemustech/tiffany/world/TFObject;->setVisibility(Z)V

    .line 299
    const/4 v2, 0x2

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/nemustech/tiffany/world/TFObject;->setVisibility(Z)V

    .line 300
    const v2, -0x42333333

    invoke-virtual {v0, v1, v1, v2}, Lcom/nemustech/tiffany/world/TFHolder;->locate(FFF)V

    .line 301
    const-wide/16 v4, 0x64

    move v2, v1

    move v3, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFHolder;->move(FFFJ)V

    .line 302
    new-instance v1, Lcom/nemustech/regina/ElementAppList$2$1;

    invoke-direct {v1, p0, v7, v0}, Lcom/nemustech/regina/ElementAppList$2$1;-><init>(Lcom/nemustech/regina/ElementAppList$2;Lcom/nemustech/regina/RGWorkspace;Lcom/nemustech/tiffany/world/TFHolder;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 328
    return-void
.end method
